<template>
  <router-view/>
</template>

<script>


export default {
  name: 'App',
  mounted() {
    this.$JIM.init()
    if (this.$JIM.isLogin()) {
      this.$router.replace('/main')
    } else {
      this.$router.replace('/login')
    }
  }
}
</script>

<style>
#app {
  width: 100%;
  height: 100%;
}
</style>
